package abg.core.service.sys;


import abg.core.domain.db.SysMsg;
import abg.core.domain.search.Psh;
import com.mybatisflex.core.paginate.Page;

import java.util.List;

/**
 * 系统消息
 */
public interface SysMsgService {

    Page<SysMsg> msgPageData(SysMsg param, Psh psh);

    Page<Object> userPageData(SysMsg param, Psh psh);

    long notReadMsgCount();

    List<SysMsg> msgTopList(String type, int size);

    SysMsg info(String id);

    boolean delete(String ids);

    boolean insert(SysMsg param);

    boolean readAll();

    boolean readBatch(String ids);

}
